package com.shhm.business.service;

import com.shhm.common.dto.request.RequestList;
import com.shhm.common.dto.response.AjaxResultPlus;
import com.shhm.common.dto.response.business.ProductVO;
import com.shhm.common.entity.common.ProductEntity;
import jakarta.servlet.http.HttpServletRequest;

/**
 * @author JackZ
 * @version 1.0
 * @description: TODO
 * @date 2025/9/2 下午3:10
 */
public interface ProductService {
    AjaxResultPlus pageSearchList(Integer pageNum, Integer pageSize, ProductVO entity, HttpServletRequest request);

    AjaxResultPlus add(ProductEntity entity, HttpServletRequest request);

    AjaxResultPlus update(ProductVO entity, HttpServletRequest request);

    AjaxResultPlus delete(RequestList ids, HttpServletRequest request);

    AjaxResultPlus shelvesList(Integer pageNum, Integer pageSize, Integer isPage, HttpServletRequest request);

    AjaxResultPlus auditProduct(ProductVO entity, HttpServletRequest request);

    AjaxResultPlus auditProductList(Integer pageNum, Integer pageSize, Integer isPage, HttpServletRequest request);

    AjaxResultPlus sellerProductList(Integer pageNum, Integer pageSize, Integer isPage, HttpServletRequest request);

    AjaxResultPlus updateProductEntity(ProductEntity entity, HttpServletRequest request);
}
